//
//  PushViewController.m
//  QuickCare
//
//  Created by lidabiao on 16/7/12.
//  Copyright © 2016年 lidabiao. All rights reserved.
//

#import "PushViewController.h"

#import "DrawerManager.h"

@interface PushViewController ()

@end

@implementation PushViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"返回" style:UIBarButtonItemStylePlain target:self action:@selector(backBarButtonItemClick)];

}

-(void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];
    
    [kDrawerManager disableLeftDrawer];
}

///  点击左上角按钮
-(void)backBarButtonItemClick
{
    [kDrawerManager enableLeftDrawerAndOpenLeftDrawer];
}



/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
